package com.wfx.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.wfx.entity.PageDTO;
import com.wfx.entity.PageResult;
import com.wfx.entity.Result;
import com.wfx.entity.WxbGoodsBrand;

import java.util.List;

/**
 * <p>
 * 品牌表 服务类
 * </p>
 *
 * @author zhu
 * @since 2021-01-20
 */
public interface IWxbGoodsBrandService extends IService<WxbGoodsBrand>  {
    //查询
    public PageResult<WxbGoodsBrand> search(PageDTO<WxbGoodsBrand> pageDTO);
    //添加or修改
    public Result addOrUpdate(WxbGoodsBrand wxbGoodsBrand);
    //批量删除
    public Result delBrands(List<String> ids);
    //删除
    public Result delOne(WxbGoodsBrand wxbGoodsBrand);

    //根据名字查ID
    public List<WxbGoodsBrand> select(List<String> brandsList);
}
